<?php

namespace app\controllers;

use mako\http\routing\Controller;
use mako\view\ViewFactory;

/**
 * Welcome controller.
 */
class Auth extends Controller
{

	/**
	 * Login route.
	 *
	 * @param  \mako\view\ViewFactory $view View factory
	 * @return string
	 */
	public function login(ViewFactory $view)
	{
		return $view->render('auth.login');
	}

	/**
	 * Create [account] route.
	 *
	 * @param  \mako\view\ViewFactory $view View factory
	 * @return string
	 */
	public function create(ViewFactory $view)
	{
		return $view->render('auth.create');
	}

}
